package com.example.demo.anno

import com.example.demo.enum.RouteMethod

/**
 * @author Xu Haidong
 * @date 2023/4/21 9:48
 */
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
annotation class RouteMapping(val value: String, val method: RouteMethod = RouteMethod.GET)
